Searched refs:key_blob (Results 1 – 4 of 4) sorted by relevance
/external/vboot_reference/firmware/lib/cryptolib/ |
D | rsa_utility.c | 83 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/libchrome/crypto/ |
D | hmac_win.cc | 146 KeyBlob* key_blob = reinterpret_cast<KeyBlob*>(&key_blob_storage[0]); in Init() local 147 key_blob->header.bType = PLAINTEXTKEYBLOB; in Init() 148 key_blob->header.bVersion = CUR_BLOB_VERSION; in Init() 149 key_blob->header.reserved = 0; in Init() 150 key_blob->header.aiKeyAlg = CALG_RC2; in Init() 151 key_blob->key_size = static_cast<DWORD>(key_length); in Init() 152 memcpy(key_blob->key_data, key, key_length); in Init() 162 SecureZeroMemory(key_blob->key_data, key_length); in Init()
|
/external/vboot_reference/utility/ |
D | load_kernel_test.c | 84 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/ |
D | rsa.h | 55 int RSAVerifyBinary_f(const uint8_t* key_blob, 64 int RSAVerifyBinaryWithDigest_f(const uint8_t* key_blob,
|