Searched defs:key_len (Results 1 - 10 of 10) sorted by relevance

/system/keymaster/km_openssl/
H A Dhmac.cpp38 bool HmacSha256::Init(const uint8_t* key, size_t key_len) { argument
42 key_len_ = key_len;
43 key_.reset(dup_buffer(key, key_len));
/system/bt/stack/smp/
H A Dsmp_api.cc493 * key_len - key length
501 bool SMP_Encrypt(uint8_t* key, uint8_t key_len, uint8_t* plain_text, argument
506 status = smp_encrypt_data(key, key_len, plain_text, pt_len, p_out);
H A Dsmp_keys.cc112 bool smp_encrypt_data(uint8_t* key, uint8_t key_len, uint8_t* plain_text, argument
122 if ((p_out == NULL) || (key_len != SMP_ENCRYT_KEY_SIZE)) {
/system/core/trusty/keymaster/
H A Dtrusty_keymaster_device_test.cpp492 static void VerifySignature(const uint8_t* key, size_t key_len, const uint8_t* signature, argument
494 std::unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey(d2i_PUBKEY(NULL, &key, key_len));
/system/gatekeeper/
H A Dgatekeeper.cpp239 uint32_t key_len = 0; local
240 if (GetAuthTokenKey(&auth_token_key, &key_len)) {
242 ComputeSignature(token->hmac, sizeof(token->hmac), auth_token_key, key_len,
/system/bt/stack/test/
H A Dble_advertiser_test.cc50 bool SMP_Encrypt(uint8_t* key, uint8_t key_len, uint8_t* plain_text, argument
/system/bt/stack/hcic/
H A Dhciblecmds.cc367 void btsnd_hcic_ble_encrypt(uint8_t* key, uint8_t key_len, uint8_t* plain_text, argument
384 if (key_len > HCIC_BLE_ENCRYT_KEY_SIZE) key_len = HCIC_BLE_ENCRYT_KEY_SIZE;
387 ARRAY_TO_STREAM(pp, key, key_len);
388 pp += (HCIC_BLE_ENCRYT_KEY_SIZE - key_len);
/system/keymaster/key_blob_utils/
H A Docb.c703 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len) { argument
712 key_len = OCB_KEY_LEN;
714 AES_set_encrypt_key((unsigned char*)key, key_len * 8, &ctx->encrypt_key);
718 AES_set_decrypt_key((unsigned char*)key, (int)(key_len * 8), &ctx->decrypt_key);
/system/bt/btif/src/
H A Dbtif_storage.cc475 static void btif_read_le_key(const uint8_t key_type, const size_t key_len, argument
486 key_len) == BT_STATUS_SUCCESS) {
/system/sepolicy/tools/
H A Dcheck_seapp.c777 int key_len = strlen(k->key); local
780 l = l + key_len + val_len;
792 strncat(new_map->key, k->key, key_len);

Completed in 233 milliseconds