Lines Matching refs:p
175 unsigned char *p = sig; in mbedtls_pkcs11_sign() local
215 *p++ = MBEDTLS_ASN1_SEQUENCE | MBEDTLS_ASN1_CONSTRUCTED; in mbedtls_pkcs11_sign()
216 *p++ = (unsigned char) ( 0x08 + oid_size + hashlen ); in mbedtls_pkcs11_sign()
217 *p++ = MBEDTLS_ASN1_SEQUENCE | MBEDTLS_ASN1_CONSTRUCTED; in mbedtls_pkcs11_sign()
218 *p++ = (unsigned char) ( 0x04 + oid_size ); in mbedtls_pkcs11_sign()
219 *p++ = MBEDTLS_ASN1_OID; in mbedtls_pkcs11_sign()
220 *p++ = oid_size & 0xFF; in mbedtls_pkcs11_sign()
221 memcpy( p, oid, oid_size ); in mbedtls_pkcs11_sign()
222 p += oid_size; in mbedtls_pkcs11_sign()
223 *p++ = MBEDTLS_ASN1_NULL; in mbedtls_pkcs11_sign()
224 *p++ = 0x00; in mbedtls_pkcs11_sign()
225 *p++ = MBEDTLS_ASN1_OCTET_STRING; in mbedtls_pkcs11_sign()
226 *p++ = hashlen; in mbedtls_pkcs11_sign()
229 memcpy( p, hash, hashlen ); in mbedtls_pkcs11_sign()