Lines Matching refs:olen
64 size_t keylen, ilen, olen;
339 if (mbedtls_cipher_update(&cipher_ctx, buffer, ilen, output, &olen) != 0) {
344 if (mbedtls_md_hmac_update(&md_ctx, output, olen) != 0) {
349 if (fwrite(output, 1, olen, fout) != olen) {
350 mbedtls_fprintf(stderr, "fwrite(%ld bytes) failed\n", (long) olen);
355 if (mbedtls_cipher_finish(&cipher_ctx, output, &olen) != 0) {
359 if (mbedtls_md_hmac_update(&md_ctx, output, olen) != 0) {
364 if (fwrite(output, 1, olen, fout) != olen) {
365 mbedtls_fprintf(stderr, "fwrite(%ld bytes) failed\n", (long) olen);
499 &olen) != 0) {
504 if (fwrite(output, 1, olen, fout) != olen) {
505 mbedtls_fprintf(stderr, "fwrite(%ld bytes) failed\n", (long) olen);
538 if (mbedtls_cipher_finish(&cipher_ctx, output, &olen) != 0) {
543 if (fwrite(output, 1, olen, fout) != olen) {
544 mbedtls_fprintf(stderr, "fwrite(%ld bytes) failed\n", (long) olen);