Lines Matching refs:allocate
175 fn allocate(algo: AlgorithmId, mode: OperationMode, max_key_size: usize) -> Result<Self> { in allocate() method
374 pub fn allocate(algo: AlgorithmId) -> Result<Self> { in allocate() method
375 match OperationHandle::allocate(algo, OperationMode::Digest, 0) { in allocate()
649 pub fn allocate(algo: AlgorithmId, mode: OperationMode, max_key_size: usize) -> Result<Self> { in allocate() method
650 match OperationHandle::allocate(algo, mode, max_key_size) { in allocate()
892 pub fn allocate(algo: AlgorithmId, max_key_size: usize) -> Result<Self> { in allocate() method
893 match OperationHandle::allocate(algo, OperationMode::Mac, max_key_size) { in allocate()
1175 pub fn allocate(algo: AlgorithmId, mode: OperationMode, max_key_size: usize) -> Result<Self> { in allocate() method
1176 match OperationHandle::allocate(algo, mode, max_key_size) { in allocate()
1434 pub fn allocate(algo: AlgorithmId, mode: OperationMode, max_key_size: usize) -> Result<Self> { in allocate() method
1435 match OperationHandle::allocate(algo, mode, max_key_size) { in allocate()
1550 pub fn allocate(algo: AlgorithmId, max_key_size: usize) -> Result<Self> { in allocate() method
1551 match OperationHandle::allocate(algo, OperationMode::Derive, max_key_size) { in allocate()