Lines Matching refs:olen
73 size_t olen = 0; in gcm_gen_table() local
76 if ((ret = mbedtls_cipher_update(&ctx->cipher_ctx, h, 16, h, &olen)) != 0) { in gcm_gen_table()
266 size_t use_len, olen = 0; in mbedtls_gcm_starts() local
308 ctx->base_ectr, &olen)) != 0) { in mbedtls_gcm_starts()
400 size_t olen = 0; in gcm_mask() local
404 &olen)) != 0) { in gcm_mask()
569 size_t olen; in mbedtls_gcm_crypt_and_tag() local
580 output, length, &olen)) != 0) { in mbedtls_gcm_crypt_and_tag()
584 if ((ret = mbedtls_gcm_finish(ctx, NULL, 0, &olen, tag, tag_len)) != 0) { in mbedtls_gcm_crypt_and_tag()
872 size_t olen; in mbedtls_gcm_self_test() local
1018 buf, sizeof(buf), &olen); in mbedtls_gcm_self_test()
1022 if (olen != 32) { in mbedtls_gcm_self_test()
1029 buf + 32, sizeof(buf) - 32, &olen); in mbedtls_gcm_self_test()
1033 if (olen != rest_len) { in mbedtls_gcm_self_test()
1040 buf, sizeof(buf), &olen); in mbedtls_gcm_self_test()
1044 if (olen != pt_len_test_data[i]) { in mbedtls_gcm_self_test()
1049 ret = mbedtls_gcm_finish(&ctx, NULL, 0, &olen, tag_buf, 16); in mbedtls_gcm_self_test()
1098 buf, sizeof(buf), &olen); in mbedtls_gcm_self_test()
1102 if (olen != 32) { in mbedtls_gcm_self_test()
1109 buf + 32, sizeof(buf) - 32, &olen); in mbedtls_gcm_self_test()
1113 if (olen != rest_len) { in mbedtls_gcm_self_test()
1120 buf, sizeof(buf), &olen); in mbedtls_gcm_self_test()
1124 if (olen != pt_len_test_data[i]) { in mbedtls_gcm_self_test()
1129 ret = mbedtls_gcm_finish(&ctx, NULL, 0, &olen, tag_buf, 16); in mbedtls_gcm_self_test()