Lines Matching refs:result_buffer
142 result_buffer = _ffi.new("char**")
143 buffer_length = _lib.BIO_get_mem_data(bio, result_buffer)
144 return _ffi.buffer(result_buffer[0], buffer_length)[:]
621 result_buffer = _ffi.new("unsigned char**")
622 data_length = _lib.ASN1_STRING_to_UTF8(result_buffer, data)
626 result = _ffi.buffer(result_buffer[0], data_length)[:].decode(
631 _lib.OPENSSL_free(result_buffer[0])
656 result_buffer = _ffi.new("char[]", 512)
658 self._name, result_buffer, len(result_buffer)
663 _native(_ffi.string(result_buffer)),
685 result_buffer = _ffi.new("unsigned char**")
686 encode_result = _lib.i2d_X509_NAME(self._name, result_buffer)
689 string_result = _ffi.buffer(result_buffer[0], encode_result)[:]
690 _lib.OPENSSL_free(result_buffer[0])
1250 result_buffer = _ffi.new("unsigned char[]", _lib.EVP_MAX_MD_SIZE)
1252 result_length[0] = len(result_buffer)
1255 self._x509, digest, result_buffer, result_length
1262 for ch in _ffi.buffer(result_buffer, result_length[0])