/arch/sparc/crypto/ |
D | aes_glue.c | 34 void (*encrypt)(const u64 *key, const u32 *input, u32 *output); 35 void (*decrypt)(const u64 *key, const u32 *input, u32 *output); 36 void (*load_encrypt_keys)(const u64 *key); 37 void (*load_decrypt_keys)(const u64 *key); 38 void (*ecb_encrypt)(const u64 *key, const u64 *input, u64 *output, 40 void (*ecb_decrypt)(const u64 *key, const u64 *input, u64 *output, 42 void (*cbc_encrypt)(const u64 *key, const u64 *input, u64 *output, 44 void (*cbc_decrypt)(const u64 *key, const u64 *input, u64 *output, 46 void (*ctr_crypt)(const u64 *key, const u64 *input, u64 *output, 52 u64 key[AES_MAX_KEYLENGTH / sizeof(u64)]; member [all …]
|
D | camellia_glue.c | 54 extern void camellia_sparc64_crypt(const u64 *key, const u32 *input, 75 extern void camellia_sparc64_load_keys(const u64 *key, unsigned int key_len); 78 const u64 *key); 92 const u64 *key; in __ecb_crypt() local 104 key = &ctx->encrypt_key[0]; in __ecb_crypt() 106 key = &ctx->decrypt_key[0]; in __ecb_crypt() 107 camellia_sparc64_load_keys(key, ctx->key_len); in __ecb_crypt() 117 op(src64, dst64, block_len, key); in __ecb_crypt() 141 const u64 *key, u64 *iv); 155 const u64 *key; in cbc_encrypt() local [all …]
|
D | des_glue.c | 41 extern void des_sparc64_key_expand(const u32 *input_key, u64 *key); 43 static int des_set_key(struct crypto_tfm *tfm, const u8 *key, in des_set_key() argument 55 ret = des_ekey(tmp, key); in des_set_key() 61 des_sparc64_key_expand((const u32 *) key, &dctx->encrypt_expkey[0]); in des_set_key() 67 extern void des_sparc64_crypt(const u64 *key, const u64 *input, 86 extern void des_sparc64_load_keys(const u64 *key); 200 static int des3_ede_set_key(struct crypto_tfm *tfm, const u8 *key, in des3_ede_set_key() argument 204 const u32 *K = (const u32 *)key; in des3_ede_set_key() 217 des_sparc64_key_expand((const u32 *)key, k1); in des3_ede_set_key() 218 key += DES_KEY_SIZE; in des3_ede_set_key() [all …]
|
/arch/x86/boot/ |
D | video.c | 104 int key; in get_entry() local 108 key = getchar(); in get_entry() 110 if (key == '\b') { in get_entry() 115 } else if ((key >= '0' && key <= '9') || in get_entry() 116 (key >= 'A' && key <= 'Z') || in get_entry() 117 (key >= 'a' && key <= 'z')) { in get_entry() 119 entry_buf[len++] = key; in get_entry() 120 putchar(key); in get_entry() 123 } while (key != '\r'); in get_entry() 132 key = entry_buf[i] | 0x20; in get_entry() [all …]
|
/arch/sparc/include/asm/ |
D | jump_label.h | 10 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 19 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 26 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 35 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump() 47 jump_label_t key; member
|
/arch/arm64/include/asm/ |
D | jump_label.h | 29 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 36 : : "i"(&((char *)key)[branch]) : : l_yes); in arch_static_branch() 43 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 50 : : "i"(&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump() 62 jump_label_t key; member
|
/arch/s390/include/asm/ |
D | jump_label.h | 15 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 22 : : "X" (&((char *)key)[branch]) : : label); in arch_static_branch() 29 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 36 : : "X" (&((char *)key)[branch]) : : label); in arch_static_branch_jump() 48 jump_label_t key; member
|
/arch/arm/include/asm/ |
D | jump_label.h | 11 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 18 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 25 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 32 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump() 44 jump_label_t key; member
|
/arch/mips/include/asm/ |
D | jump_label.h | 29 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 36 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 43 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 50 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump() 66 jump_label_t key; member
|
/arch/x86/include/asm/ |
D | jump_label.h | 19 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 27 : : "i" (key), "i" (branch) : : l_yes); in arch_static_branch() 34 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 43 : : "i" (key), "i" (branch) : : l_yes); in arch_static_branch_jump() 59 jump_label_t key; member
|
/arch/powerpc/include/asm/ |
D | jump_label.h | 21 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 28 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 35 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 42 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump() 58 jump_label_t key; member
|
/arch/powerpc/boot/ |
D | planetcore.c | 41 const char *planetcore_get_key(const char *table, const char *key) in planetcore_get_key() argument 43 int keylen = strlen(key); in planetcore_get_key() 46 if (!strncmp(table, key, keylen) && table[keylen] == '=') in planetcore_get_key() 55 int planetcore_get_decimal(const char *table, const char *key, u64 *val) in planetcore_get_decimal() argument 57 const char *str = planetcore_get_key(table, key); in planetcore_get_decimal() 65 int planetcore_get_hex(const char *table, const char *key, u64 *val) in planetcore_get_hex() argument 67 const char *str = planetcore_get_key(table, key); in planetcore_get_hex()
|
D | planetcore.h | 32 const char *planetcore_get_key(const char *table, const char *key); 33 int planetcore_get_decimal(const char *table, const char *key, u64 *val); 34 int planetcore_get_hex(const char *table, const char *key, u64 *val);
|
/arch/arm64/crypto/ |
D | poly-hash-ce-glue.c | 48 asmlinkage void pmull_poly_hash_update(le128 *digest, const le128 *key, 53 const u8 *key, unsigned int keylen) in poly_hash_setkey() argument 60 memcpy(crypto_shash_ctx(tfm), key, sizeof(le128)); in poly_hash_setkey() 84 const le128 *key = crypto_shash_ctx(desc->tfm); in poly_hash_update() local 102 pmull_poly_hash_update(&ctx->digest, key, src, in poly_hash_update() 124 const le128 *key = crypto_shash_ctx(desc->tfm); in poly_hash_final() local 127 pmull_poly_hash_update(&ctx->digest, key, NULL, 0, partial); in poly_hash_final()
|
D | ghash-ce-glue.c | 56 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update() local 71 pmull_ghash_update(blocks, ctx->digest, src, key, in ghash_update() 88 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final() local 93 pmull_ghash_update(1, ctx->digest, ctx->buf, key, NULL); in ghash_final() 106 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey() local 118 key->a = (a << 1) | (b >> 63); in ghash_setkey() 119 key->b = (b << 1) | (a >> 63); in ghash_setkey() 122 key->b ^= 0xc200000000000000UL; in ghash_setkey()
|
D | crc32-arm64.c | 93 u32 key; member 105 ctx->crc = mctx->key; in chksum_init() 115 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, in chksum_setkey() argument 120 if (keylen != sizeof(mctx->key)) { in chksum_setkey() 124 mctx->key = get_unaligned_le32(key); in chksum_setkey() 195 return __chksum_finup(mctx->key, data, length, out); in chksum_digest() 203 return __chksumc_finup(mctx->key, data, length, out); in chksumc_digest() 210 mctx->key = 0; in crc32_cra_init() 218 mctx->key = ~0; in crc32c_cra_init()
|
/arch/s390/crypto/ |
D | des_s390.c | 33 u8 key[DES3_KEY_SIZE]; member 36 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey() argument 44 if (!des_ekey(tmp, key) && (*flags & CRYPTO_TFM_REQ_WEAK_KEY)) { in des_setkey() 49 memcpy(ctx->key, key, key_len); in des_setkey() 57 crypt_s390_km(KM_DEA_ENCRYPT, ctx->key, out, in, DES_BLOCK_SIZE); in des_encrypt() 64 crypt_s390_km(KM_DEA_DECRYPT, ctx->key, out, in, DES_BLOCK_SIZE); in des_decrypt() 87 u8 *key, struct blkcipher_walk *walk) in ecb_desall_crypt() argument 98 ret = crypt_s390_km(func, key, out, in, n); in ecb_desall_crypt() 117 u8 key[DES3_KEY_SIZE]; in cbc_desall_crypt() member 124 memcpy(param.key, ctx->key, DES3_KEY_SIZE); in cbc_desall_crypt() [all …]
|
D | ghash_s390.c | 20 u8 key[GHASH_BLOCK_SIZE]; member 25 u8 key[GHASH_BLOCK_SIZE]; member 36 memcpy(dctx->key, ctx->key, GHASH_BLOCK_SIZE); in ghash_init() 42 const u8 *key, unsigned int keylen) in ghash_setkey() argument 51 memcpy(ctx->key, key, GHASH_BLOCK_SIZE); in ghash_setkey()
|
D | aes_s390.c | 41 u8 key[AES_MAX_KEY_SIZE]; member 52 u8 key[32]; member 60 u8 key[32]; member 129 memcpy(sctx->key, in_key, key_len); in aes_set_key() 147 crypt_s390_km(KM_AES_128_ENCRYPT, &sctx->key, out, in, in aes_encrypt() 151 crypt_s390_km(KM_AES_192_ENCRYPT, &sctx->key, out, in, in aes_encrypt() 155 crypt_s390_km(KM_AES_256_ENCRYPT, &sctx->key, out, in, in aes_encrypt() 172 crypt_s390_km(KM_AES_128_DECRYPT, &sctx->key, out, in, in aes_decrypt() 176 crypt_s390_km(KM_AES_192_DECRYPT, &sctx->key, out, in, in aes_decrypt() 180 crypt_s390_km(KM_AES_256_DECRYPT, &sctx->key, out, in, in aes_decrypt() [all …]
|
/arch/arm/crypto/ |
D | bsaes-armv7.pl | 53 my ($inp,$out,$len,$key)=("r0","r1","r2","r3"); 57 my ($key,$rounds,$const)=("r4","r5","r6"); 344 vldmia $key!, {@t[0]-@t[3]} 349 vldmia $key!, {@t[0]} 353 vldmia $key!, {@t[1]} 357 vldmia $key!, {@t[2]} 360 vldmia $key!, {@t[3]} 728 vldmia $key!, {@XMM[9]} @ round 0 key 784 vldmia $key, {@XMM[8]} @ last round key 823 vldmia $key!, {@XMM[9]} @ round 0 key [all …]
|
D | ghash-ce-glue.c | 63 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_update() local 78 pmull_ghash_update(blocks, ctx->digest, src, key, in ghash_update() 95 struct ghash_key *key = crypto_shash_ctx(desc->tfm); in ghash_final() local 99 pmull_ghash_update(1, ctx->digest, ctx->buf, key, NULL); in ghash_final() 112 struct ghash_key *key = crypto_shash_ctx(tfm); in ghash_setkey() local 124 key->a = (a << 1) | (b >> 63); in ghash_setkey() 125 key->b = (b << 1) | (a >> 63); in ghash_setkey() 128 key->b ^= 0xc200000000000000UL; in ghash_setkey() 250 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() argument 260 err = crypto_ahash_setkey(child, key, keylen); in ghash_async_setkey()
|
D | aes_glue.h | 17 const int bits, struct AES_KEY *key); 19 const int bits, struct AES_KEY *key);
|
/arch/arm/boot/dts/ |
D | r8a7791-koelsch.dts | 78 key-1 { 82 gpio-key,wakeup; 85 key-2 { 89 gpio-key,wakeup; 92 key-3 { 96 gpio-key,wakeup; 99 key-4 { 103 gpio-key,wakeup; 106 key-a { 110 gpio-key,wakeup; [all …]
|
D | r8a73a4-ape6evm.dts | 109 zero-key { 113 gpio-key,wakeup; 116 menu-key { 122 home-key { 128 back-key { 134 volup-key { 140 voldown-key {
|
/arch/powerpc/platforms/ps3/ |
D | os-area.c | 179 int key; member 184 .key = OS_AREA_DB_KEY_NONE 189 .key = OS_AREA_DB_KEY_ANY 194 .key = OS_AREA_DB_KEY_RTC_DIFF 403 uint8_t key:3; member 454 if (i->match_id.key != OS_AREA_DB_KEY_ANY in db_for_each_64() 455 && i->match_id.key != (int)i->idx->key) in db_for_each_64() 468 i.idx->owner, i.idx->key, in db_delete_64() 472 i.idx->key = 0; in db_delete_64() 484 id->owner, id->key, (unsigned long long)value); in db_set_64() [all …]
|