/arch/powerpc/platforms/powernv/ |
D | opal-secvar.c | 74 static int opal_get_next_variable(const char *key, uint64_t *keylen, in opal_get_next_variable() argument 79 if (!key || !keylen) in opal_get_next_variable() 82 *keylen = cpu_to_be64(*keylen); in opal_get_next_variable() 84 rc = opal_secvar_get_next(key, keylen, keybufsize); in opal_get_next_variable() 86 *keylen = be64_to_cpu(*keylen); in opal_get_next_variable()
|
/arch/powerpc/boot/ |
D | planetcore.c | 40 int keylen = strlen(key); in planetcore_get_key() local 43 if (!strncmp(table, key, keylen) && table[keylen] == '=') in planetcore_get_key() 44 return table + keylen + 1; in planetcore_get_key()
|
/arch/s390/include/uapi/asm/ |
D | pkey.h | 216 __u32 keylen; /* in: the key blob length */ member 248 __u32 keylen; /* in: available key blob buffer size */ member 282 __u32 keylen; /* in: available key blob buffer size */ member 315 __u32 keylen; /* in: key blob size */ member 339 __u32 keylen; /* in: key blob size */ member 374 __u32 keylen; /* in: key blob size */ member 438 __u32 keylen; /* in: key blob size */ member
|
/arch/s390/crypto/ |
D | paes_s390.c | 55 unsigned int keylen; member 60 unsigned int keylen) in _key_to_kb() argument 71 switch (keylen) { in _key_to_kb() 79 h->keytype = (keylen - 8) >> 3; in _key_to_kb() 80 h->len = keylen; in _key_to_kb() 81 memcpy(kb->keybuf + sizeof(*h), key, keylen); in _key_to_kb() 82 kb->keylen = sizeof(*h) + keylen; in _key_to_kb() 87 if (keylen <= sizeof(kb->keybuf)) in _key_to_kb() 90 kb->key = kmalloc(keylen, GFP_KERNEL); in _key_to_kb() 94 memcpy(kb->key, key, keylen); in _key_to_kb() [all …]
|
D | ghash_s390.c | 42 const u8 *key, unsigned int keylen) in ghash_setkey() argument 46 if (keylen != GHASH_BLOCK_SIZE) in ghash_setkey()
|
/arch/s390/include/asm/ |
D | pkey.h | 25 int pkey_keyblob2pkey(const u8 *key, u32 keylen,
|
/arch/x86/crypto/ |
D | cast6_avx_glue.c | 29 const u8 *key, unsigned int keylen) in cast6_setkey_skcipher() argument 31 return cast6_setkey(&tfm->base, key, keylen); in cast6_setkey_skcipher()
|
D | serpent_avx_glue.c | 36 const u8 *key, unsigned int keylen) in serpent_setkey_skcipher() argument 38 return __serpent_setkey(crypto_skcipher_ctx(tfm), key, keylen); in serpent_setkey_skcipher()
|
D | cast5_avx_glue.c | 29 unsigned int keylen) in cast5_setkey_skcipher() argument 31 return cast5_setkey(&tfm->base, key, keylen); in cast5_setkey_skcipher()
|
D | serpent_sse2_glue.c | 28 const u8 *key, unsigned int keylen) in serpent_setkey_skcipher() argument 30 return __serpent_setkey(crypto_skcipher_ctx(tfm), key, keylen); in serpent_setkey_skcipher()
|
D | twofish_glue_3way.c | 22 const u8 *key, unsigned int keylen) in twofish_setkey_skcipher() argument 24 return twofish_setkey(&tfm->base, key, keylen); in twofish_setkey_skcipher()
|
D | camellia_aesni_avx_glue.c | 31 unsigned int keylen) in camellia_setkey() argument 33 return __camellia_setkey(crypto_skcipher_ctx(tfm), key, keylen); in camellia_setkey()
|
D | twofish_avx_glue.c | 31 const u8 *key, unsigned int keylen) in twofish_setkey_skcipher() argument 33 return twofish_setkey(&tfm->base, key, keylen); in twofish_setkey_skcipher()
|
D | serpent_avx2_glue.c | 27 const u8 *key, unsigned int keylen) in serpent_setkey_skcipher() argument 29 return __serpent_setkey(crypto_skcipher_ctx(tfm), key, keylen); in serpent_setkey_skcipher()
|
D | camellia_aesni_avx2_glue.c | 28 unsigned int keylen) in camellia_setkey() argument 30 return __camellia_setkey(crypto_skcipher_ctx(tfm), key, keylen); in camellia_setkey()
|
D | ghash-clmulni-intel_glue.c | 55 const u8 *key, unsigned int keylen) in ghash_setkey() argument 60 if (keylen != GHASH_BLOCK_SIZE) in ghash_setkey() 254 unsigned int keylen) in ghash_async_setkey() argument 262 return crypto_ahash_setkey(child, key, keylen); in ghash_async_setkey()
|
D | crc32-pclmul_glue.c | 93 unsigned int keylen) in crc32_pclmul_setkey() argument 97 if (keylen != sizeof(u32)) in crc32_pclmul_setkey()
|
D | des3_ede_glue.c | 255 unsigned int keylen) in des3_ede_x86_setkey() argument 261 err = des3_ede_expand_key(&ctx->enc, key, keylen); in des3_ede_x86_setkey() 290 unsigned int keylen) in des3_ede_x86_setkey_skcipher() argument 292 return des3_ede_x86_setkey(&tfm->base, key, keylen); in des3_ede_x86_setkey_skcipher()
|
D | polyval-clmulni_glue.c | 82 const u8 *key, unsigned int keylen) in polyval_x86_setkey() argument 87 if (keylen != POLYVAL_BLOCK_SIZE) in polyval_x86_setkey()
|
D | crc32c-intel_glue.c | 84 unsigned int keylen) in crc32c_intel_setkey() argument 88 if (keylen != sizeof(u32)) in crc32c_intel_setkey()
|
/arch/sparc/crypto/ |
D | des_glue.c | 46 unsigned int keylen) in des_set_key() argument 66 unsigned int keylen) in des_set_key_skcipher() argument 68 return des_set_key(crypto_skcipher_tfm(tfm), key, keylen); in des_set_key_skcipher() 182 unsigned int keylen) in des3_ede_set_key() argument 215 unsigned int keylen) in des3_ede_set_key_skcipher() argument 217 return des3_ede_set_key(crypto_skcipher_tfm(tfm), key, keylen); in des3_ede_set_key_skcipher()
|
D | crc32c_glue.c | 32 unsigned int keylen) in crc32c_sparc64_setkey() argument 36 if (keylen != sizeof(u32)) in crc32c_sparc64_setkey()
|
/arch/powerpc/crypto/ |
D | crc32c-vpmsum_glue.c | 72 unsigned int keylen) in crc32c_vpmsum_setkey() argument 76 if (keylen != sizeof(u32)) in crc32c_vpmsum_setkey()
|
/arch/arm64/crypto/ |
D | polyval-ce-glue.c | 73 const u8 *key, unsigned int keylen) in polyval_arm64_setkey() argument 78 if (keylen != POLYVAL_BLOCK_SIZE) in polyval_arm64_setkey()
|
/arch/arm/crypto/ |
D | ghash-ce-glue.c | 157 const u8 *inkey, unsigned int keylen) in ghash_setkey() argument 161 if (keylen != GHASH_BLOCK_SIZE) in ghash_setkey() 290 unsigned int keylen) in ghash_async_setkey() argument 298 return crypto_ahash_setkey(child, key, keylen); in ghash_async_setkey()
|