Lines Matching full:signature_length
281 size_t* signature_length) const {
285 signature_length);
327 size_t signature_length;
328 if (!Keymaster0Sign(&sign_params, *key_blob, in, len, &signature, &signature_length)) {
338 Eraser eraser(signature.get(), signature_length);
340 if (signature_length > len) {
345 memcpy(out, signature.get() + signature_length - len, len);
346 } else if (signature_length < len) {
352 memcpy(out + len - signature_length, signature.get(), signature_length);
376 size_t signature_length;
378 &signature_length)) {
383 Eraser eraser(signature.get(), signature_length);
385 if (signature_length == 0) {
388 } else if (signature_length > ECDSA_size(ec_key)) {
392 memcpy(sig, signature.get(), signature_length);
393 *sig_len = signature_length;