Home
last modified time | relevance | path

Searched defs:st (Results 1 – 25 of 53) sorted by relevance

123

/optee_os/core/lib/libtomcrypt/src/stream/sober128/
A Dsober128_stream.c69 #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 Dblake2bmac.c23 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 Dblake2smac.c23 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 Drc4_stream.c22 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 Drc4_stream_memory.c28 rc4_state st; in rc4_stream_memory() local
/optee_os/core/lib/libtomcrypt/src/stream/rabbit/
A Drabbit.c136 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 Drsa.c89 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 Decc.c222 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 Dpoly1305.c21 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 Dchacha_done.c20 int chacha_done(chacha_state *st) in chacha_done()
A Dchacha_keystream.c27 int chacha_keystream(chacha_state *st, unsigned char *out, unsigned long outlen) in chacha_keystream()
A Dchacha_ivctr32.c28 int chacha_ivctr32(chacha_state *st, const unsigned char *iv, unsigned long ivlen, ulong32 counter) in chacha_ivctr32()
A Dchacha_ivctr64.c28 int chacha_ivctr64(chacha_state *st, const unsigned char *iv, unsigned long ivlen, ulong64 counter) in chacha_ivctr64()
A Dchacha_setup.c31 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 Dsalsa20_done.c20 int salsa20_done(salsa20_state *st) in salsa20_done()
A Dsalsa20_keystream.c28 int salsa20_keystream(salsa20_state *st, unsigned char *out, unsigned long outlen) in salsa20_keystream()
A Dsalsa20_ivctr64.c29 int salsa20_ivctr64(salsa20_state *st, const unsigned char *iv, unsigned long ivlen, ulong64 counte… in salsa20_ivctr64()
A Dsalsa20_setup.c32 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 Dchacha20poly1305_init.c22 int chacha20poly1305_init(chacha20poly1305_state *st, const unsigned char *key, unsigned long keyle… in chacha20poly1305_init()
A Dchacha20poly1305_add_aad.c22 int chacha20poly1305_add_aad(chacha20poly1305_state *st, const unsigned char *in, unsigned long inl… in chacha20poly1305_add_aad()
A Dchacha20poly1305_setiv_rfc7905.c23 int chacha20poly1305_setiv_rfc7905(chacha20poly1305_state *st, const unsigned char *iv, unsigned lo… in chacha20poly1305_setiv_rfc7905()
A Dchacha20poly1305_decrypt.c23 int chacha20poly1305_decrypt(chacha20poly1305_state *st, const unsigned char *in, unsigned long inl… in chacha20poly1305_decrypt()
A Dchacha20poly1305_done.c22 int chacha20poly1305_done(chacha20poly1305_state *st, unsigned char *tag, unsigned long *taglen) in chacha20poly1305_done()
A Dchacha20poly1305_encrypt.c23 int chacha20poly1305_encrypt(chacha20poly1305_state *st, const unsigned char *in, unsigned long inl… in chacha20poly1305_encrypt()
A Dchacha20poly1305_setiv.c22 int chacha20poly1305_setiv(chacha20poly1305_state *st, const unsigned char *iv, unsigned long ivlen) in chacha20poly1305_setiv()

Completed in 34 milliseconds

123