/optee_os-3.20.0/core/drivers/crypto/crypto_api/cipher/ |
A D | cipher.c | 76 size_t key2_len, const uint8_t *iv, size_t iv_len) in cipher_init() argument 81 if ((!key1 && key1_len) || (!key2 && key2_len) || (!iv && iv_len)) { in cipher_init() 96 .key2.length = key2_len, in cipher_init()
|
/optee_os-3.20.0/core/pta/tests/ |
A D | aes_perf.c | 59 size_t key2_len = 0; in init_ctx() local 72 key2_len = key_len; in init_ctx() 99 key2_len, iv, iv_len); in init_ctx()
|
/optee_os-3.20.0/core/crypto/ |
A D | aes-cts.c | 52 size_t key2_len, const uint8_t *iv, size_t iv_len) in cts_init() argument 59 res = crypto_cipher_init(c->ecb, mode, key1, key1_len, key2, key2_len, in cts_init() 64 return crypto_cipher_init(c->cbc, mode, key1, key1_len, key2, key2_len, in cts_init()
|
A D | sm4-xts.c | 36 size_t key2_len, const uint8_t *iv, in sm4_xts_init() argument 41 if (key1_len != 16 || key2_len != 16 || iv_len != sizeof(c->iv)) in sm4_xts_init()
|
A D | sm4-ecb.c | 33 size_t key2_len __unused, in sm4_ecb_init()
|
A D | sm4-ctr.c | 36 size_t key2_len __unused, in sm4_ctr_init()
|
A D | sm4-cbc.c | 35 size_t key2_len __unused, in sm4_cbc_init()
|
A D | crypto.c | 182 const uint8_t *key2, size_t key2_len, in crypto_cipher_init() argument 188 return cipher_ops(ctx)->init(ctx, mode, key1, key1_len, key2, key2_len, in crypto_cipher_init()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | xts.c | 38 size_t key2_len __unused, in ltc_xts_init() 44 if (key1_len != key2_len) in ltc_xts_init()
|
A D | ctr.c | 34 size_t key2_len __unused, in ltc_ctr_init()
|
A D | cbc.c | 37 size_t key2_len __unused, in ltc_cbc_init()
|
A D | ecb.c | 37 size_t key2_len __unused, in ltc_ecb_init()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | des_ecb.c | 35 size_t key2_len __unused, in mbed_des_ecb_init()
|
A D | des3_ecb.c | 35 size_t key2_len __unused, in mbed_des3_ecb_init()
|
A D | des_cbc.c | 37 size_t key2_len __unused, in mbed_des_cbc_init()
|
A D | aes_ecb.c | 40 size_t key2_len __unused, in mbed_aes_ecb_init()
|
A D | des3_cbc.c | 37 size_t key2_len __unused, in mbed_des3_cbc_init()
|
A D | aes_cbc.c | 41 size_t key2_len __unused, in mbed_aes_cbc_init()
|
A D | aes_ctr.c | 42 size_t key2_len __unused, in mbed_aes_ctr_init()
|
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | ctr.c | 35 size_t key2_len __unused, in se050_aes_ctr_init()
|
/optee_os-3.20.0/core/include/crypto/ |
A D | crypto.h | 42 const uint8_t *key2, size_t key2_len,
|
A D | crypto_impl.h | 157 const uint8_t *key2, size_t key2_len,
|