Home
last modified time | relevance | path

Searched refs:poly1305_process (Results 1 – 11 of 11) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/poly1305/
A Dpoly1305_test.c29 if ((err = poly1305_process(&st, (unsigned char*)m, 5)) != CRYPT_OK) return err; in poly1305_test()
30 if ((err = poly1305_process(&st, (unsigned char*)m + 5, 4)) != CRYPT_OK) return err; in poly1305_test()
31 if ((err = poly1305_process(&st, (unsigned char*)m + 9, 3)) != CRYPT_OK) return err; in poly1305_test()
32 if ((err = poly1305_process(&st, (unsigned char*)m + 12, 2)) != CRYPT_OK) return err; in poly1305_test()
33 if ((err = poly1305_process(&st, (unsigned char*)m + 14, 1)) != CRYPT_OK) return err; in poly1305_test()
34 if ((err = poly1305_process(&st, (unsigned char*)m + 15, mlen - 15)) != CRYPT_OK) return err; in poly1305_test()
39 if ((err = poly1305_process(&st, (unsigned char*)m, mlen)) != CRYPT_OK) return err; in poly1305_test()
A Dpoly1305_memory.c34 if ((err = poly1305_process(&st, in, inlen)) != CRYPT_OK) { goto LBL_ERR; } in poly1305_memory()
A Dpoly1305_memory_multi.c43 if ((err = poly1305_process(&st, curptr, curlen)) != CRYPT_OK) { goto LBL_ERR; } in poly1305_memory_multi()
A Dpoly1305_file.c59 if ((err = poly1305_process(&st, buf, (unsigned long)x)) != CRYPT_OK) { in poly1305_file()
A Dpoly1305.c121 int poly1305_process(poly1305_state *st, const unsigned char *in, unsigned long inlen) in poly1305_process() function
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/chachapoly/
A Dchacha20poly1305_encrypt.c28 if ((err = poly1305_process(&st->poly, padzero, padlen)) != CRYPT_OK) return err; in chacha20poly1305_encrypt()
32 if ((err = poly1305_process(&st->poly, out, inlen)) != CRYPT_OK) return err; in chacha20poly1305_encrypt()
A Dchacha20poly1305_decrypt.c27 if ((err = poly1305_process(&st->poly, padzero, padlen)) != CRYPT_OK) return err; in chacha20poly1305_decrypt()
32 if ((err = poly1305_process(&st->poly, in, inlen)) != CRYPT_OK) return err; in chacha20poly1305_decrypt()
A Dchacha20poly1305_done.c26 if ((err = poly1305_process(&st->poly, padzero, padlen)) != CRYPT_OK) return err; in chacha20poly1305_done()
30 if ((err = poly1305_process(&st->poly, buf, 16)) != CRYPT_OK) return err; in chacha20poly1305_done()
A Dchacha20poly1305_add_aad.c23 if ((err = poly1305_process(&st->poly, in, inlen)) != CRYPT_OK) return err; in chacha20poly1305_add_aad()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dpoly1305.c94 static void poly1305_process( mbedtls_poly1305_context *ctx, in poly1305_process() function
342 poly1305_process( ctx, 1U, ctx->queue, 1U ); /* add padding bit */ in mbedtls_poly1305_update()
353 poly1305_process( ctx, nblocks, &input[offset], 1U ); in mbedtls_poly1305_update()
387 poly1305_process( ctx, 1U, /* Process 1 block */ in mbedtls_poly1305_finish()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h115 int poly1305_process(poly1305_state *st, const unsigned char *in, unsigned long inlen);

Completed in 9 milliseconds