Home
last modified time | relevance | path

Searched refs:ek (Results 1 – 9 of 9) sorted by relevance

/optee_os/core/arch/arm/crypto/
A Daes-gcm-ce.c110 (const uint8_t *)ek->data, ek->rounds, in encrypt_pl()
126 ek->rounds, 1, (uint8_t *)state->ctr, 1); in decrypt_pl()
137 const struct internal_aes_gcm_key *ek, in update_payload_2block() argument
157 pmull_gcm_load_round_keys(ek->data, ek->rounds); in update_payload_2block()
159 (uint8_t *)state->ctr, ek->rounds); in update_payload_2block()
162 state->ctr, NULL, ek->rounds, ks); in update_payload_2block()
167 state->ctr, ek->data, ek->rounds); in update_payload_2block()
174 const struct internal_aes_gcm_key *ek, in internal_aes_gcm_update_payload_blocks() argument
198 encrypt_pl(state, ek, dg, s, 1, d); in internal_aes_gcm_update_payload_blocks()
200 decrypt_pl(state, ek, dg, s, 1, d); in internal_aes_gcm_update_payload_blocks()
[all …]
/optee_os/core/crypto/
A Daes-gcm-sw.c14 const struct internal_aes_gcm_key *ek) in internal_aes_gcm_set_key() argument
17 internal_aes_gcm_ghash_gen_tbl(&state->ghash_key, ek); in internal_aes_gcm_set_key()
19 crypto_aes_enc_block(ek->data, sizeof(ek->data), ek->rounds, in internal_aes_gcm_set_key()
69 const struct internal_aes_gcm_key *ek, in encrypt_pl() argument
79 encrypt_block(state, ek, s, d); in encrypt_pl()
87 encrypt_block(state, ek, tmp, d); in encrypt_pl()
108 const struct internal_aes_gcm_key *ek, in decrypt_pl() argument
118 decrypt_block(state, ek, s, d); in decrypt_pl()
126 decrypt_block(state, ek, tmp, d); in decrypt_pl()
140 encrypt_pl(state, ek, src, num_blocks, dst); in internal_aes_gcm_update_payload_blocks()
[all …]
A Daes-gcm.c70 const struct internal_aes_gcm_key *ek, in __gcm_init() argument
82 internal_aes_gcm_set_key(state, ek); in __gcm_init()
95 crypto_aes_enc_block(ek->data, sizeof(ek->data), ek->rounds, in __gcm_init()
116 crypto_aes_enc_block(ek->data, sizeof(ek->data), ek->rounds, in __gcm_init()
130 struct internal_aes_gcm_key *ek = &ctx->key; in internal_aes_gcm_init() local
133 sizeof(ek->data), &ek->rounds); in internal_aes_gcm_init()
191 const struct internal_aes_gcm_key *ek, in __gcm_update_payload() argument
215 crypto_aes_enc_block(ek->data, sizeof(ek->data), in __gcm_update_payload()
216 ek->rounds, state->ctr, in __gcm_update_payload()
240 crypto_aes_enc_block(ek->data, sizeof(ek->data), in __gcm_update_payload()
[all …]
A Daes-gcm-ghash-tbl.c50 const struct internal_aes_gcm_key *ek) in internal_aes_gcm_ghash_gen_tbl() argument
57 crypto_aes_enc_block(ek->data, sizeof(ek->data), ek->rounds, h, h); in internal_aes_gcm_ghash_gen_tbl()
/optee_os/core/lib/libtomcrypt/src/ciphers/
A Didea.c79 ushort16 *e_key = skey->idea.ek; in _setup_key()
161 int err = _process_block(pt, ct, skey->idea.ek); in idea_ecb_encrypt()
A Ddes.c1541 deskey(key, EN0, skey->des.ek); in des_setup()
1568 deskey(key, EN0, skey->des3.ek[0]); in des3_setup()
1569 deskey(key+8, DE1, skey->des3.ek[1]); in des3_setup()
1571 deskey(key+16, EN0, skey->des3.ek[2]); in des3_setup()
1574 deskey(key, EN0, skey->des3.ek[2]); in des3_setup()
1604 desfunc(work, skey->des.ek); in des_ecb_encrypt()
1647 desfunc(work, skey->des3.ek[0]); in des3_ecb_encrypt()
1648 desfunc(work, skey->des3.ek[1]); in des3_ecb_encrypt()
1649 desfunc(work, skey->des3.ek[2]); in des3_ecb_encrypt()
/optee_os/core/include/crypto/
A Dinternal_aes-gcm.h130 const struct internal_aes_gcm_key *ek,
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_cipher.h102 ulong32 ek[32], dk[32]; member
106 ulong32 ek[3][32], dk[3][32]; member
164 unsigned short int ek[LTC_IDEA_KEYLEN]; /* enc key */ member
/optee_os/core/arch/arm/dts/
A Dat91-sama5d27_som1_ek.dts17 …compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d27-som1", "atmel,sama5d27", "atmel,sama5d2", "…

Completed in 44 milliseconds