Lines Matching refs:tmpbuf
700 unsigned char *tmpbuf; in ossltest_aes128_cbc_cipher() local
703 tmpbuf = OPENSSL_malloc(inl); in ossltest_aes128_cbc_cipher()
706 if (tmpbuf == NULL && inl > 0) in ossltest_aes128_cbc_cipher()
710 if (tmpbuf != NULL) in ossltest_aes128_cbc_cipher()
711 memcpy(tmpbuf, in, inl); in ossltest_aes128_cbc_cipher()
717 if (tmpbuf != NULL) in ossltest_aes128_cbc_cipher()
718 memcpy(out, tmpbuf, inl); in ossltest_aes128_cbc_cipher()
719 OPENSSL_free(tmpbuf); in ossltest_aes128_cbc_cipher()
734 unsigned char *tmpbuf = OPENSSL_malloc(inl); in ossltest_aes128_gcm_cipher() local
737 if (tmpbuf == NULL && inl > 0) in ossltest_aes128_gcm_cipher()
741 if (tmpbuf != NULL) in ossltest_aes128_gcm_cipher()
742 memcpy(tmpbuf, in, inl); in ossltest_aes128_gcm_cipher()
748 if (tmpbuf != NULL && out != NULL) in ossltest_aes128_gcm_cipher()
749 memcpy(out, tmpbuf, inl); in ossltest_aes128_gcm_cipher()
750 OPENSSL_free(tmpbuf); in ossltest_aes128_gcm_cipher()