/optee_os/core/lib/libtomcrypt/src/stream/sober128/ |
A D | sober128_stream.c | 69 #define NLFUNC(st,z) \ argument 79 static ulong32 nltap(const sober128_state *st) in nltap() 88 static void s128_savestate(sober128_state *st) in s128_savestate() 98 static void s128_reloadstate(sober128_state *st) in s128_reloadstate() 109 static void s128_genkonst(sober128_state *st) in s128_genkonst() 130 static void s128_diffuse(sober128_state *st) in s128_diffuse() 160 int sober128_stream_setup(sober128_state *st, const unsigned char *key, unsigned long keylen) in sober128_stream_setup() 207 int sober128_stream_setiv(sober128_state *st, const unsigned char *iv, unsigned long ivlen) in sober128_stream_setiv() 252 int sober128_stream_crypt(sober128_state *st, const unsigned char *in, unsigned long inlen, unsigne… in sober128_stream_crypt() 320 int sober128_stream_keystream(sober128_state *st, unsigned char *out, unsigned long outlen) in sober128_stream_keystream() [all …]
|
/optee_os/core/lib/libtomcrypt/src/mac/blake2/ |
A D | blake2bmac.c | 23 int blake2bmac_init(blake2bmac_state *st, unsigned long outlen, const unsigned char *key, unsigned … in blake2bmac_init() 37 int blake2bmac_process(blake2bmac_state *st, const unsigned char *in, unsigned long inlen) in blake2bmac_process() 52 int blake2bmac_done(blake2bmac_state *st, unsigned char *mac, unsigned long *maclen) in blake2bmac_done()
|
A D | blake2smac.c | 23 int blake2smac_init(blake2smac_state *st, unsigned long outlen, const unsigned char *key, unsigned … in blake2smac_init() 37 int blake2smac_process(blake2smac_state *st, const unsigned char *in, unsigned long inlen) in blake2smac_process() 52 int blake2smac_done(blake2smac_state *st, unsigned char *mac, unsigned long *maclen) in blake2smac_done()
|
/optee_os/core/lib/libtomcrypt/src/stream/rc4/ |
A D | rc4_stream.c | 22 int rc4_stream_setup(rc4_state *st, const unsigned char *key, unsigned long keylen) in rc4_stream_setup() 58 int rc4_stream_crypt(rc4_state *st, const unsigned char *in, unsigned long inlen, unsigned char *ou… in rc4_stream_crypt() 88 int rc4_stream_keystream(rc4_state *st, unsigned char *out, unsigned long outlen) in rc4_stream_keystream() 101 int rc4_stream_done(rc4_state *st) in rc4_stream_done()
|
A D | rc4_stream_memory.c | 28 rc4_state st; in rc4_stream_memory() local
|
/optee_os/core/lib/libtomcrypt/src/stream/rabbit/ |
A D | rabbit.c | 136 static LTC_INLINE void _rabbit_gen_1_block(rabbit_state* st, unsigned char *out) in _rabbit_gen_1_block() 154 int rabbit_setup(rabbit_state* st, const unsigned char *key, unsigned long keylen) in rabbit_setup() 229 int rabbit_setiv(rabbit_state* st, const unsigned char *iv, unsigned long ivlen) in rabbit_setiv() 278 int rabbit_crypt(rabbit_state* st, const unsigned char *in, unsigned long inlen, unsigned char *out) in rabbit_crypt() 318 int rabbit_keystream(rabbit_state *st, unsigned char *out, unsigned long outlen) in rabbit_keystream() 330 int rabbit_done(rabbit_state *st) in rabbit_done()
|
/optee_os/core/drivers/crypto/se050/core/ |
A D | rsa.c | 89 sss_status_t st = kStatus_SSS_Fail; in se050_inject_public_key() local 131 sss_status_t st = kStatus_SSS_Fail; in se050_inject_keypair() local 192 sss_status_t st = kStatus_SSS_Fail; in decrypt_es() local 247 sss_status_t st = kStatus_SSS_Fail; in encrypt_es() local 281 sss_status_t st = kStatus_SSS_Fail; in decrypt_nopad() local 345 sss_status_t st = kStatus_SSS_Fail; in encrypt_nopad() local 406 sss_status_t st = kStatus_SSS_Fail; in sign_ssa() local 445 sss_status_t st = kStatus_SSS_Fail; in verify_ssa() local 531 sss_status_t st = kStatus_SSS_Fail; in do_free_keypair() local 557 sss_status_t st = kStatus_SSS_Fail; in do_gen_keypair() local
|
A D | ecc.c | 222 sss_status_t st = kStatus_SSS_Fail; in se050_inject_public_key() local 277 sss_status_t st = kStatus_SSS_Fail; in se050_inject_keypair() local 353 sss_status_t st = kStatus_SSS_Fail; in shared_secret() local 412 sss_status_t st = kStatus_SSS_Fail; in sign() local 485 sss_status_t st = kStatus_SSS_Fail; in verify() local 538 sss_status_t st = kStatus_SSS_Fail; in gen_keypair() local
|
/optee_os/core/lib/libtomcrypt/src/mac/poly1305/ |
A D | poly1305.c | 21 static void _poly1305_block(poly1305_state *st, const unsigned char *in, unsigned long inlen) in _poly1305_block() 90 int poly1305_init(poly1305_state *st, const unsigned char *key, unsigned long keylen) in poly1305_init() 128 int poly1305_process(poly1305_state *st, const unsigned char *in, unsigned long inlen) in poly1305_process() 172 int poly1305_done(poly1305_state *st, unsigned char *mac, unsigned long *maclen) in poly1305_done()
|
/optee_os/core/lib/libtomcrypt/src/stream/chacha/ |
A D | chacha_done.c | 20 int chacha_done(chacha_state *st) in chacha_done()
|
A D | chacha_keystream.c | 27 int chacha_keystream(chacha_state *st, unsigned char *out, unsigned long outlen) in chacha_keystream()
|
A D | chacha_ivctr32.c | 28 int chacha_ivctr32(chacha_state *st, const unsigned char *iv, unsigned long ivlen, ulong32 counter) in chacha_ivctr32()
|
A D | chacha_ivctr64.c | 28 int chacha_ivctr64(chacha_state *st, const unsigned char *iv, unsigned long ivlen, ulong64 counter) in chacha_ivctr64()
|
A D | chacha_setup.c | 31 int chacha_setup(chacha_state *st, const unsigned char *key, unsigned long keylen, int rounds) in chacha_setup()
|
/optee_os/core/lib/libtomcrypt/src/stream/salsa20/ |
A D | salsa20_done.c | 20 int salsa20_done(salsa20_state *st) in salsa20_done()
|
A D | salsa20_keystream.c | 28 int salsa20_keystream(salsa20_state *st, unsigned char *out, unsigned long outlen) in salsa20_keystream()
|
A D | salsa20_ivctr64.c | 29 int salsa20_ivctr64(salsa20_state *st, const unsigned char *iv, unsigned long ivlen, ulong64 counte… in salsa20_ivctr64()
|
A D | salsa20_setup.c | 32 int salsa20_setup(salsa20_state *st, const unsigned char *key, unsigned long keylen, int rounds) in salsa20_setup()
|
/optee_os/core/lib/libtomcrypt/src/encauth/chachapoly/ |
A D | chacha20poly1305_init.c | 22 int chacha20poly1305_init(chacha20poly1305_state *st, const unsigned char *key, unsigned long keyle… in chacha20poly1305_init()
|
A D | chacha20poly1305_add_aad.c | 22 int chacha20poly1305_add_aad(chacha20poly1305_state *st, const unsigned char *in, unsigned long inl… in chacha20poly1305_add_aad()
|
A D | chacha20poly1305_setiv_rfc7905.c | 23 int chacha20poly1305_setiv_rfc7905(chacha20poly1305_state *st, const unsigned char *iv, unsigned lo… in chacha20poly1305_setiv_rfc7905()
|
A D | chacha20poly1305_decrypt.c | 23 int chacha20poly1305_decrypt(chacha20poly1305_state *st, const unsigned char *in, unsigned long inl… in chacha20poly1305_decrypt()
|
A D | chacha20poly1305_done.c | 22 int chacha20poly1305_done(chacha20poly1305_state *st, unsigned char *tag, unsigned long *taglen) in chacha20poly1305_done()
|
A D | chacha20poly1305_encrypt.c | 23 int chacha20poly1305_encrypt(chacha20poly1305_state *st, const unsigned char *in, unsigned long inl… in chacha20poly1305_encrypt()
|
A D | chacha20poly1305_setiv.c | 22 int chacha20poly1305_setiv(chacha20poly1305_state *st, const unsigned char *iv, unsigned long ivlen) in chacha20poly1305_setiv()
|