Lines Matching refs:base64
84 EVP_ENCODE_CTX base64; member
139 EVP_DecodeInit(&ctx->base64); in b64_read()
215 k = EVP_DecodeUpdate(&(ctx->base64), (uint8_t *)ctx->buf, &num, p, in b64_read()
219 EVP_DecodeInit(&ctx->base64); in b64_read()
227 EVP_DecodeInit(&ctx->base64); in b64_read()
286 i = EVP_DecodeUpdate(&(ctx->base64), (uint8_t *)ctx->buf, in b64_read()
330 EVP_EncodeInit(&(ctx->base64)); in b64_write()
399 EVP_EncodeUpdate(&(ctx->base64), (uint8_t *)ctx->buf, &ctx->buf_len, in b64_write()
455 if ((ret == 0) && (ctx->encode != B64_NONE) && (ctx->base64.num != 0)) { in b64_ctrl()
487 } else if (ctx->encode != B64_NONE && ctx->base64.num != 0) { in b64_ctrl()
489 EVP_EncodeFinal(&(ctx->base64), (uint8_t *)ctx->buf, &(ctx->buf_len)); in b64_ctrl()