Home
last modified time | relevance | path

Searched refs:leftover (Results 1 – 3 of 3) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/poly1305/
A Dpoly1305.c109 st->leftover = 0; in poly1305_init()
130 if (st->leftover) { in poly1305_process()
131 unsigned long want = (16 - st->leftover); in poly1305_process()
133 for (i = 0; i < want; i++) st->buffer[st->leftover + i] = in[i]; in poly1305_process()
136 st->leftover += want; in poly1305_process()
137 if (st->leftover < 16) return CRYPT_OK; in poly1305_process()
139 st->leftover = 0; in poly1305_process()
152 for (i = 0; i < inlen; i++) st->buffer[st->leftover + i] = in[i]; in poly1305_process()
153 st->leftover += inlen; in poly1305_process()
178 if (st->leftover) { in poly1305_done()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h109 unsigned long leftover; member
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Daes.c1139 size_t leftover = length % 16; in mbedtls_aes_crypt_xts() local
1169 if( leftover && ( mode == MBEDTLS_AES_DECRYPT ) && blocks == 0 ) in mbedtls_aes_crypt_xts()
1197 if( leftover ) in mbedtls_aes_crypt_xts()
1212 for( i = 0; i < leftover; i++ ) in mbedtls_aes_crypt_xts()

Completed in 8 milliseconds