Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/mac/poly1305/
A Dpoly1305_test.c36 if ((err = poly1305_process(&st, (unsigned char*)m, 5)) != CRYPT_OK) return err; in poly1305_test()
37 if ((err = poly1305_process(&st, (unsigned char*)m + 5, 4)) != CRYPT_OK) return err; in poly1305_test()
38 if ((err = poly1305_process(&st, (unsigned char*)m + 9, 3)) != CRYPT_OK) return err; in poly1305_test()
39 if ((err = poly1305_process(&st, (unsigned char*)m + 12, 2)) != CRYPT_OK) return err; in poly1305_test()
40 if ((err = poly1305_process(&st, (unsigned char*)m + 14, 1)) != CRYPT_OK) return err; in poly1305_test()
41 if ((err = poly1305_process(&st, (unsigned char*)m + 15, mlen - 15)) != CRYPT_OK) return err; in poly1305_test()
46 if ((err = poly1305_process(&st, (unsigned char*)m, mlen)) != CRYPT_OK) return err; in poly1305_test()
A Dpoly1305_memory.c41 if ((err = poly1305_process(&st, in, inlen)) != CRYPT_OK) { goto LBL_ERR; } in poly1305_memory()
A Dpoly1305_memory_multi.c50 if ((err = poly1305_process(&st, curptr, curlen)) != CRYPT_OK) { goto LBL_ERR; } in poly1305_memory_multi()
A Dpoly1305_file.c66 if ((err = poly1305_process(&st, buf, (unsigned long)x)) != CRYPT_OK) { in poly1305_file()
A Dpoly1305.c128 int poly1305_process(poly1305_state *st, const unsigned char *in, unsigned long inlen) in poly1305_process() function
/optee_os/core/lib/libtomcrypt/src/encauth/chachapoly/
A Dchacha20poly1305_encrypt.c35 if ((err = poly1305_process(&st->poly, padzero, padlen)) != CRYPT_OK) return err; in chacha20poly1305_encrypt()
39 if ((err = poly1305_process(&st->poly, out, inlen)) != CRYPT_OK) return err; in chacha20poly1305_encrypt()
A Dchacha20poly1305_decrypt.c34 if ((err = poly1305_process(&st->poly, padzero, padlen)) != CRYPT_OK) return err; in chacha20poly1305_decrypt()
39 if ((err = poly1305_process(&st->poly, in, inlen)) != CRYPT_OK) return err; in chacha20poly1305_decrypt()
A Dchacha20poly1305_done.c33 if ((err = poly1305_process(&st->poly, padzero, padlen)) != CRYPT_OK) return err; in chacha20poly1305_done()
37 if ((err = poly1305_process(&st->poly, buf, 16)) != CRYPT_OK) return err; in chacha20poly1305_done()
A Dchacha20poly1305_add_aad.c30 if ((err = poly1305_process(&st->poly, in, inlen)) != CRYPT_OK) return err; in chacha20poly1305_add_aad()
/optee_os/lib/libmbedtls/mbedtls/library/
A Dpoly1305.c101 static void poly1305_process( mbedtls_poly1305_context *ctx, in poly1305_process() function
361 poly1305_process( ctx, 1U, ctx->queue, 1U ); /* add padding bit */ in mbedtls_poly1305_update()
372 poly1305_process( ctx, nblocks, &input[offset], 1U ); in mbedtls_poly1305_update()
406 poly1305_process( ctx, 1U, /* Process 1 block */ in mbedtls_poly1305_finish()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h120 int poly1305_process(poly1305_state *st, const unsigned char *in, unsigned long inlen);

Completed in 12 milliseconds