Searched refs:key_len (Results 1 – 3 of 3) sorted by relevance
/system/keymaster/ |
D | ae.h | 75 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len);
|
D | ocb.c | 702 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len) { in ae_init() argument 711 key_len = OCB_KEY_LEN; in ae_init() 713 AES_set_encrypt_key((unsigned char*)key, key_len * 8, &ctx->encrypt_key); in ae_init() 717 AES_set_decrypt_key((unsigned char*)key, (int)(key_len * 8), &ctx->decrypt_key); in ae_init()
|
/system/core/init/ |
D | init.c | 100 size_t key_len = strlen(key); in add_environment() local 108 if ((entry_key_len == key_len) && (strncmp(ENV[n], key, entry_key_len) == 0)) { in add_environment() 116 size_t len = key_len + strlen(val) + 2; in add_environment()
|