Home
last modified time | relevance | path

Searched refs:key_len (Results 1 – 7 of 7) sorted by relevance

/lib/crypto/
Daes.c187 unsigned int key_len) in aes_expandkey() argument
189 u32 kwords = key_len / sizeof(u32); in aes_expandkey()
195 trace_android_vh_aes_expandkey(ctx, in_key, key_len, &err); in aes_expandkey()
200 err = aes_check_keylen(key_len); in aes_expandkey()
204 ctx->key_length = key_len; in aes_expandkey()
218 if (key_len == AES_KEYSIZE_192) { in aes_expandkey()
223 } else if (key_len == AES_KEYSIZE_256) { in aes_expandkey()
239 ctx->key_dec[0] = ctx->key_enc[key_len + 24]; in aes_expandkey()
240 ctx->key_dec[1] = ctx->key_enc[key_len + 25]; in aes_expandkey()
241 ctx->key_dec[2] = ctx->key_enc[key_len + 26]; in aes_expandkey()
[all …]
Darc4.c13 int arc4_setkey(struct arc4_ctx *ctx, const u8 *in_key, unsigned int key_len) in arc4_setkey() argument
29 if (++k >= key_len) in arc4_setkey()
Dsm4.c112 unsigned int key_len) in sm4_expandkey() argument
118 if (key_len != SM4_KEY_SIZE) in sm4_expandkey()
/lib/
Drhashtable.c1021 if ((!params->key_len && !params->obj_hashfn) || in rhashtable_init()
1046 ht->key_len = ht->p.key_len; in rhashtable_init()
1050 if (!(ht->key_len & (sizeof(u32) - 1))) { in rhashtable_init()
1051 ht->key_len /= sizeof(u32); in rhashtable_init()
Dkobject_uevent.c119 int key_len; in kobject_action_args() local
157 key_len = next - buf; in kobject_action_args()
169 key_len, key, (int) (next - buf), buf)) in kobject_action_args()
Dobjagg.c536 objagg->ht_params.key_len = ops->obj_size; in objagg_create()
920 memcmp(ptr, arg->key, ht->p.key_len); in objagg_hints_obj_cmp()
956 objagg_hints->ht_params.key_len = objagg->ops->obj_size; in objagg_hints_get()
Dtest_rhashtable.c97 .key_len = sizeof(struct test_obj_val),
104 .key_len = sizeof(struct test_obj_val),