Home
last modified time | relevance | path

Searched refs:key_blob (Results 1 – 9 of 9) sorted by relevance

/external/vboot_reference/firmware/lib/cryptolib/
Drsa_utility.c83 int RSAVerifyBinary_f(const uint8_t* key_blob, in RSAVerifyBinary_f() argument
101 if (key_blob && !key) in RSAVerifyBinary_f()
102 verification_key = RSAPublicKeyFromBuf(key_blob, key_size); in RSAVerifyBinary_f()
103 else if (!key_blob && key) in RSAVerifyBinary_f()
124 int RSAVerifyBinaryWithDigest_f(const uint8_t* key_blob, in RSAVerifyBinaryWithDigest_f() argument
140 if (key_blob && !key) in RSAVerifyBinaryWithDigest_f()
141 verification_key = RSAPublicKeyFromBuf(key_blob, key_size); in RSAVerifyBinaryWithDigest_f()
142 else if (!key_blob && key) in RSAVerifyBinaryWithDigest_f()
/external/vboot_reference/utility/
Dload_kernel_test.c84 uint8_t* key_blob = NULL; in main() local
150 key_blob = ReadFile(argv[optind+1], &key_size); in main()
151 if (!key_blob) { in main()
169 if (key_blob) { in main()
172 Memcpy((uint8_t*)gbb + gbb->rootkey_offset, key_blob, key_size); in main()
187 if (key_blob) { in main()
188 if (0 != VbSharedDataSetKernelKey(shared, (VbPublicKey*)key_blob)) { in main()
195 free(key_blob); in main()
/external/vboot_reference/firmware/lib/cryptolib/include/
Drsa.h55 int RSAVerifyBinary_f(const uint8_t* key_blob,
64 int RSAVerifyBinaryWithDigest_f(const uint8_t* key_blob,
/external/openssh/
Dmonitor.c161 static u_char *key_blob = NULL; variable
549 if (key_blob == NULL || key_bloblen != bloblen || in monitor_allowed_key()
550 timingsafe_bcmp(key_blob, blob, key_bloblen)) in monitor_allowed_key()
559 free(key_blob); in monitor_reset_key_state()
563 key_blob = NULL; in monitor_reset_key_state()
1229 if ((r = sshkey_to_blob(key, &key_blob, &key_bloblen)) != 0) in mm_answer_keyallowed()
/external/avb/
Davbtool.py2418 key_blob = vbmeta_blob[key_offset:key_offset + header.public_key_size]
2441 if key_blob:
2442 hexdig = hashlib.sha1(key_blob).hexdigest()
2520 key_blob = None
2524 key_blob = RSAPublicKey(key_path).encode()
2545 if key_blob:
2552 if key_blob != key_blob_in_vbmeta:
Davbtool2418 key_blob = vbmeta_blob[key_offset:key_offset + header.public_key_size]
2441 if key_blob:
2442 hexdig = hashlib.sha1(key_blob).hexdigest()
2520 key_blob = None
2524 key_blob = RSAPublicKey(key_path).encode()
2545 if key_blob:
2552 if key_blob != key_blob_in_vbmeta:
/external/curl/lib/vtls/
Dopenssl.c2739 if(SSL_SET_OPTION(key_blob)) { in ossl_connect_step1()
2740 ssl_key_bio = BIO_new_mem_buf(SSL_SET_OPTION(key_blob)->data, in ossl_connect_step1()
2741 (int)SSL_SET_OPTION(key_blob)->len); in ossl_connect_step1()
/external/curl/lib/
Durldata.h248 struct curl_blob *key_blob; member
Durl.c3661 data->set.proxy_ssl.key_blob = data->set.blobs[BLOB_KEY_PROXY];
3679 data->set.ssl.key_blob = data->set.blobs[BLOB_KEY_ORIG];